|
SCALE SPRITE
This command will expand or shrink the specified sprite according to the scale value provided.
SCALE SPRITE Sprite Number, Scale
Sprite Number
Integer
The sprite number
Scale
Float
If the scale value is zero, the sprite will disappear. If the scale value is 100, the sprite will be set to its original size. If the scale value is set to 200, the size of the sprite will double
This command does not return a value.
If the scale value is zero, the sprite will disappear. If the scale value is 100, the sprite will be set to its original size. If the scale value is set to 200, the size of the sprite will double. The parameters should be specified using integer values.
cls
load image "man.bmp",1
sprite 1,100,100,1
wait 1000*8
scale=200
scale sprite 1,scale
do
loop
end
SPRITE Commands Menu
Index
|